<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>添加优惠券</title>
<script type="text/javascript" src="themes/js/frame/jquery-1.6.1.min.js"></script>
<script type="text/javascript" src="themes/js/frame/jquery.wysiwyg.js"></script>
<link rel="stylesheet" href="themes/css/frame/jquery.wysiwyg.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="themes/css/frame/base.css">
<script type="text/javascript">
  $(function(){
      $('#textarea').wysiwyg();
  });
</script>
</head>
<body leftmargin="8" topmargin="8" background='themes/images/allbg.gif'>

<!--  快速转换位置按钮  -->
<table width="98%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D1DDAA" align="center">
<tr>
 <td height="26" background="themes/images/newlinebg3.gif">
  <table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <td align="center"><b><{$ticket.name}></b>的卡号&nbsp;&nbsp;<input type='button' class="coolbg np" onClick="location='<{spUrl c=admin a=addCard tid=$ticket.id}>';" value='添加卡号' /></td>
 </tr>
</table>
</td>
</tr>
</table>

<table width='98%'  border='0' cellpadding='1' cellspacing='1' bgcolor='#CBD8AC' align="left" style="margin-top:8px">
  <tr bgcolor='#EEF4EA'>
    <td background='themes/images/wbg.gif' align='center'>
      <table border='0' cellpadding='0' cellspacing='0'>
   	  <{foreach item=row from=$cards}>
      <tr>
		   <td width='60'>卡号</td><td width='160'><{$row.number}></td>
		   <td width='60'>密码</td><td width='160'><{$row.password}></td>
   		   <td width='60'><{if $row.active == "0"}>不可用<{/if}></td>
	  </tr>
	  <{/foreach}>
      </table>
    </td>
  </tr>
</table>

</body>
</html>